The variable that holds the list of application icons is
called 'newApps', but that technically was never true,
since we only create new app icons when necessary.
Rename it to 'appIcons'.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/841
}
_loadApps() {
- let newApps = [];
+ let appIcons = [];
this._appInfoList = Shell.AppSystem.get_default().get_installed().filter(appInfo => {
try {
appInfo.get_id(); // catch invalid file encodings
icon.connect('name-changed', this._itemNameChanged.bind(this));
icon.connect('apps-changed', this._redisplay.bind(this));
}
- newApps.push(icon);
+ appIcons.push(icon);
this.folderIcons.push(icon);
});
});
}
- newApps.push(icon);
+ appIcons.push(icon);
});
- return newApps;
+ return appIcons;
}
// Overridden from BaseAppView